<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.4.0">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">



<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.3/css/all.min.css" integrity="sha256-2H3fkXt6FEmrReK448mDVGKb3WW2ZZw35gI7vqHOE4Y=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">

<script class="next-config" data-name="main" type="application/json">{"hostname":"example.com","root":"/","images":"/images","scheme":"Muse","version":"8.6.1","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果：${query}","hits_time":"找到 ${hits} 个搜索结果（用时 ${time} 毫秒）","hits":"找到 ${hits} 个搜索结果"}}</script><script src="/js/config.js"></script>
<meta name="description" content="centos7安装《《《《《安装Jdk》》》》》1，创建jdk安装目录 1[root@localhost ~]# mkdir -p &#x2F;usr&#x2F;local&#x2F;src&#x2F;jdk  2，下载jdk包 1[root@localhost jdk]# wget --no-check-certificate --no-cookies --header &quot;Cookie: oraclelicense&#x3D;acce">
<meta property="og:type" content="article">
<meta property="og:title" content="LINUX服务器">
<meta property="og:url" content="http://example.com/2022/10/03/LINUX%E6%9C%8D%E5%8A%A1%E5%99%A8/index.html">
<meta property="og:site_name" content="风轻云淡">
<meta property="og:description" content="centos7安装《《《《《安装Jdk》》》》》1，创建jdk安装目录 1[root@localhost ~]# mkdir -p &#x2F;usr&#x2F;local&#x2F;src&#x2F;jdk  2，下载jdk包 1[root@localhost jdk]# wget --no-check-certificate --no-cookies --header &quot;Cookie: oraclelicense&#x3D;acce">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2022-10-03T14:58:55.000Z">
<meta property="article:modified_time" content="2022-10-04T13:16:43.215Z">
<meta property="article:author" content="WQQ">
<meta property="article:tag" content="风">
<meta name="twitter:card" content="summary">


<link rel="canonical" href="http://example.com/2022/10/03/LINUX%E6%9C%8D%E5%8A%A1%E5%99%A8/">



<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":false,"isPost":true,"lang":"zh-CN","comments":true,"permalink":"http://example.com/2022/10/03/LINUX%E6%9C%8D%E5%8A%A1%E5%99%A8/","path":"2022/10/03/LINUX服务器/","title":"LINUX服务器"}</script>

<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>LINUX服务器 | 风轻云淡</title>
  




  <noscript>
    <link rel="stylesheet" href="/css/noscript.css">
  </noscript>
	<!-- 页面点击小红心 -->
	<script type="text/javascript" src="/js/src/clicklove.js"></script>
</head>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
  <div class="headband"></div>

  <main class="main">
    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏" role="button">
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <i class="logo-line"></i>
      <h1 class="site-title">风轻云淡</h1>
      <i class="logo-line"></i>
    </a>
      <p class="site-subtitle" itemprop="description">清风吹拂，白云淡淡</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul class="main-menu menu">
        <li class="menu-item menu-item-首页"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
        <li class="menu-item menu-item-关于"><a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a></li>
        <li class="menu-item menu-item-标签"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
        <li class="menu-item menu-item-分类"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
  </ul>
</nav>




</div>
        
  
  <div class="toggle sidebar-toggle" role="button">
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
  </div>

  <aside class="sidebar">

    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
      <ul class="sidebar-nav">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <div class="sidebar-panel-container">
        <!--noindex-->
        <div class="post-toc-wrap sidebar-panel">
            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#centos7%E5%AE%89%E8%A3%85"><span class="nav-number">1.</span> <span class="nav-text">centos7安装</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E3%80%8A%E3%80%8A%E3%80%8A%E3%80%8A%E3%80%8A%E5%AE%89%E8%A3%85Jdk%E3%80%8B%E3%80%8B%E3%80%8B%E3%80%8B%E3%80%8B"><span class="nav-number">1.1.</span> <span class="nav-text">《《《《《安装Jdk》》》》》</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E3%80%8A%E3%80%8A%E3%80%8A%E3%80%8A%E3%80%8A%E5%AE%89%E8%A3%85tomcat-%E3%80%8B%E3%80%8B%E3%80%8B%E3%80%8B"><span class="nav-number">1.2.</span> <span class="nav-text">《《《《《安装tomcat 》》》》</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E3%80%8A%E3%80%8A%E3%80%8A%E3%80%8ANGINX%E5%AE%89%E8%A3%85%E3%80%8B%E3%80%8B%E3%80%8B%E3%80%8B"><span class="nav-number">1.3.</span> <span class="nav-text">《《《《NGINX安装》》》》</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E3%80%8A%E3%80%8A%E3%80%8A%E3%80%8A%E5%AE%89%E8%A3%85msql%E3%80%8B%E3%80%8B%E3%80%8B%E3%80%8B"><span class="nav-number">1.4.</span> <span class="nav-text">《《《《安装msql》》》》</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E3%80%8A%E3%80%8A%E3%80%8A%E3%80%8A-%E6%90%AD%E5%BB%BAFTP%E6%96%87%E4%BB%B6%E6%9C%8D%E5%8A%A1%E5%99%A8-%E3%80%8B%E3%80%8B%E3%80%8B%E3%80%8B"><span class="nav-number">1.5.</span> <span class="nav-text">《《《《 搭建FTP文件服务器 》》》》</span></a></li></ol></li></ol></div>
        </div>
        <!--/noindex-->

        <div class="site-overview-wrap sidebar-panel">
          <div class="site-overview">
            <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="WQQ"
      src="/images/aaa.jpg">
  <p class="site-author-name" itemprop="name">WQQ</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap site-overview-item animated">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives">
          <span class="site-state-item-count">14</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
        <span class="site-state-item-count">7</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
        <span class="site-state-item-count">1</span>
        <span class="site-state-item-name">标签</span>
      </div>
  </nav>
</div>
  <div class="links-of-author site-overview-item animated">
      <span class="links-of-author-item">
        <a href="https://gitee.com/wqqszz" title="GitHub → https:&#x2F;&#x2F;gitee.com&#x2F;wqqszz" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
      <span class="links-of-author-item">
        <a href="QQ:1640611853@qq.com" title="E-Mail → QQ:1640611853@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
      </span>
  </div>



          </div>
        </div>
      </div>
    </div>
  </aside>
  <div class="sidebar-dimmer"></div>


    </header>

    
  <div class="back-to-top" role="button" aria-label="返回顶部">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>

<noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>


    <div class="main-inner post posts-expand">


  


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://example.com/2022/10/03/LINUX%E6%9C%8D%E5%8A%A1%E5%99%A8/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/aaa.jpg">
      <meta itemprop="name" content="WQQ">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="风轻云淡">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          LINUX服务器
        </h1>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2022-10-03 22:58:55" itemprop="dateCreated datePublished" datetime="2022-10-03T22:58:55+08:00">2022-10-03</time>
    </span>
      <span class="post-meta-item">
        <span class="post-meta-item-icon">
          <i class="far fa-calendar-check"></i>
        </span>
        <span class="post-meta-item-text">更新于</span>
        <time title="修改时间：2022-10-04 21:16:43" itemprop="dateModified" datetime="2022-10-04T21:16:43+08:00">2022-10-04</time>
      </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-folder"></i>
      </span>
      <span class="post-meta-item-text">分类于</span>
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
        </span>
    </span>

  
    <span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv">
      <span class="post-meta-item-icon">
        <i class="far fa-eye"></i>
      </span>
      <span class="post-meta-item-text">阅读次数：</span>
      <span id="busuanzi_value_page_pv"></span>
    </span>
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
        <h2 id="centos7安装"><a href="#centos7安装" class="headerlink" title="centos7安装"></a>centos7安装</h2><h3 id="《《《《《安装Jdk》》》》》"><a href="#《《《《《安装Jdk》》》》》" class="headerlink" title="《《《《《安装Jdk》》》》》"></a><strong>《《《《《安装Jdk》》》》》</strong></h3><p>1，创建jdk安装目录</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">[root@localhost ~]# mkdir -p /usr/local/src/jdk</span><br></pre></td></tr></table></figure>

<p>2，下载jdk包</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">[root@localhost jdk]# wget --no-check-certificate --no-cookies --header &quot;Cookie: oraclelicense=accept-securebackup-cookie&quot;  http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz</span><br></pre></td></tr></table></figure>

<p>3，解压jdk包</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">[root@localhost jdk]# tar -zxvf jdk-8u212-linux-x64.tar.gz</span><br></pre></td></tr></table></figure>

<p>4，自定义文件夹名称</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">[root@localhost jdk]#  mv jdk1.8.0_131  jdk1.8</span><br></pre></td></tr></table></figure>

<p>5，配置环境变量</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">[root@localhost jdk]# vi /etc/profile  (可以看到这个文件的内容，profile文件有点类似于windows系统里面的环境变量的配置）</span><br><span class="line">shift + g 定位到最后一行</span><br><span class="line">需要配置的内容：</span><br><span class="line">export JAVA_HOME=/usr/local/src/jdk/jdk1.8</span><br><span class="line">export PATH=$PATH:$JAVA_HOME/bin</span><br></pre></td></tr></table></figure>

<p>6，退出文件，保存</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">按Esc键   输入:wq   保存并退出</span><br></pre></td></tr></table></figure>

<p>7，让配置文件生效</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">source /etc/profile</span><br></pre></td></tr></table></figure>

<p>8，查看是否配置成功</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">命令：java -version</span><br></pre></td></tr></table></figure>



<h3 id="《《《《《安装tomcat-》》》》"><a href="#《《《《《安装tomcat-》》》》" class="headerlink" title="《《《《《安装tomcat 》》》》"></a><strong>《《《《《安装tomcat 》》》》</strong></h3><p>1 ,下载tomcat </p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">wget https://mirrors.cnnic.cn/apache/tomcat/tomcat-8/v8.5.82/bin/apache-tomcat-8.5.82.tar.gz</span><br><span class="line">(可以更换其他版本)</span><br></pre></td></tr></table></figure>

<p>2, 创建tomcat存放目录</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">mkdir -p  /usr/local/src/tomcat</span><br></pre></td></tr></table></figure>

<p>2，解压</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">cd /tomcat</span><br><span class="line">tar -zxvf apache-tomcat-8.5.82.tar.gz</span><br><span class="line">mv apache-tomcat-8.5.82 tomcat8</span><br></pre></td></tr></table></figure>

<p>3,配置环境变量</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">vi /etc/profile</span><br><span class="line"><span class="meta">#</span><span class="bash"> <span class="built_in">shift</span> + g 文件末尾，追加如下</span></span><br><span class="line">export TOMCAT_HOME=/usr/local/src/tomcat/tomcat8</span><br><span class="line">export PATH=$PATH:$TOMCAT_HOME/bin</span><br></pre></td></tr></table></figure>

<p>4,刷新配置，使配置生效</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">source /etc/profile</span><br></pre></td></tr></table></figure>

<p>5,配置开机自启</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br></pre></td><td class="code"><pre><span class="line">进入到 cd /etc/init.d</span><br><span class="line">创建tomcat    vi tomcat</span><br><span class="line">.将以下代码复制到创建的 tomcat 配置文件中：	</span><br><span class="line"><span class="meta">#</span><span class="bash">!/bin/bash</span></span><br><span class="line"><span class="meta">#</span><span class="bash"> description: Tomcat Start Stop Restart</span></span><br><span class="line"><span class="meta">#</span><span class="bash"> processname: tomcat</span></span><br><span class="line"><span class="meta">#</span><span class="bash"> chkconfig: 2345 20 80</span></span><br><span class="line"><span class="meta">#</span><span class="bash">idea - tomcat config start</span> </span><br><span class="line"><span class="meta">#</span><span class="bash">!/bin/bash</span></span><br><span class="line"><span class="meta">#</span><span class="bash"> description: Tomcat Start Stop Restart</span></span><br><span class="line"><span class="meta">#</span><span class="bash"> processname: tomcat</span></span><br><span class="line"><span class="meta">#</span><span class="bash"> chkconfig: 2345 20 80</span></span><br><span class="line">JAVA_HOME=/usr/local/src/jdk/jdk1.8</span><br><span class="line">export JAVA_HOME</span><br><span class="line">PATH=$JAVA_HOME/bin:$PATH</span><br><span class="line">export PATH</span><br><span class="line">CATALINA_HOME=/usr/local/src/tomcat/tomcat8</span><br><span class="line">case $1 in  </span><br><span class="line">start)</span><br><span class="line">sh $CATALINA_HOME/bin/startup.sh ;;</span><br><span class="line">stop)</span><br><span class="line">sh $CATALINA_HOME/bin/shutdown.sh</span><br><span class="line">;;</span><br><span class="line">restart)</span><br><span class="line">sh $CATALINA_HOME/bin/shutdown.sh</span><br><span class="line">sh $CATALINA_HOME/bin/startup.sh</span><br><span class="line">;;</span><br><span class="line">esac</span><br><span class="line">exit 0</span><br><span class="line"><span class="meta">#</span><span class="bash">chmod 755 tomcat</span></span><br><span class="line"><span class="meta">#</span><span class="bash">chkconfig --add tomcat</span></span><br><span class="line"><span class="meta">#</span><span class="bash">chkconfig --level 2345 tomcat on</span></span><br></pre></td></tr></table></figure>


<p>6 ,为 tomcat 分配可执行权限</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">chomd 777 tomcat</span><br></pre></td></tr></table></figure>
<p>7, 添加 tomcat 为系统服务：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">chkconfig --add tomcat</span><br></pre></td></tr></table></figure>

<p>8 ,输入命令查看是否添加成功： chkconfig –list</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">2，3，4，5都是开代表跟随系统而启动</span><br></pre></td></tr></table></figure>
<p>9 启动 tomcat命令：</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">service tomcat start</span><br></pre></td></tr></table></figure>


<p>​    </p>
<h3 id="《《《《NGINX安装》》》》"><a href="#《《《《NGINX安装》》》》" class="headerlink" title="《《《《NGINX安装》》》》"></a><strong>《《《《NGINX安装》》》》</strong></h3><ol>
<li>环境准备<br>#gcc安装 ，为了编译Nginx源代码，我们需要标准的GCC编译器<br>yum -y install gcc-c++<br>#pcre安装，由于Nginx的一些模块还需要依赖其他第三方库pcre库，zlib库，openssl库（支持ssl模块）所以在编译Nginx源代码前还需要安装这些这些库。<br>yum  -y install  pcre pcre-devel<br>#zlib安装<br>yum -y install zlib zlib-devel<br>#OpenSSL安装<br>yum -y install openssl openssl-devel</li>
</ol>
<p>  在进行上面的安装之前，最好使用下面的命令看下这些软件包是否已经安装过了。<br>  yum list installed | grep ***</p>
<p>2, 创建nginx安装目录</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">mkdir -p /usr/local/nginx</span><br></pre></td></tr></table></figure>

<p>3,进入安装目录。下载安装包</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">cd /usr/local/nginx</span><br></pre></td></tr></table></figure>

<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">wget http://nginx.org/download/nginx-1.13.7.tar.gz (如需要可更改指定版本)</span><br></pre></td></tr></table></figure>

<p>4，解压</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">tar -zxvf nginx-1.13.7.tar.gz</span><br></pre></td></tr></table></figure>

<p>5,进入解压后的目录。</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">cd nginx-1.13.7</span><br><span class="line"><span class="meta">#</span><span class="bash">进入解压后的目录</span></span><br><span class="line"><span class="meta">#</span><span class="bash">配置安装路径等其他配置，默认安装目录是/usr/<span class="built_in">local</span>/nginx</span></span><br><span class="line">./configure</span><br><span class="line"><span class="meta">#</span><span class="bash">编译安装nginx</span></span><br><span class="line">make</span><br><span class="line">make install</span><br></pre></td></tr></table></figure>

<p>6,Nginx的安装就已经结束了。其实在上面的configure命令执行时我们是可以配置很多参数的，上面的安装中我们全部使用的是Nginx的默认配置</p>
<p>7 启动nginx </p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">cd /usr/local/nginx/sbin</span><br><span class="line">./nginx  #启动nginx</span><br><span class="line"></span><br><span class="line">默认端口80 </span><br><span class="line">访问地址：http://ip:80</span><br></pre></td></tr></table></figure>

<p>常用命令有：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">./nginx -t # 验证配置文件是否能正常启动</span><br><span class="line">./nginx #启动nginx</span><br><span class="line">./nginx -s quit #正常停止</span><br><span class="line">./nginx -s stop #快速停止</span><br><span class="line">./nginx -s reload #重新加载</span><br><span class="line">./nginx -v #查看版本信息</span><br></pre></td></tr></table></figure>


<p> 安装阶段已验证，卸载阶段未验证<br> 8, nginx卸载</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">命令 ps -ef | grep nginx检查一下nginx服务是否在运行。</span><br><span class="line">ps -ef | grep nginx</span><br></pre></td></tr></table></figure>

<p>9 , 停止服务</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">[root@localhost ~] cd /usr/local/nginx/sbin</span><br><span class="line">[root@localhost sbin] ./nginx -s stop #快速停止</span><br><span class="line">[root@localhost sbin]  netstat -lntp</span><br></pre></td></tr></table></figure>

<p>10, 查找删除nginx相关文件</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">查看Nginx相关文件：</span><br><span class="line">	whereis nginx</span><br><span class="line">find查找相关文件</span><br><span class="line">	find / -name nginx</span><br><span class="line">依次删除find查找到的所有目录：rm -rf /usr/local/nginx/sbin/nginx</span><br></pre></td></tr></table></figure>

<p>11，再使用yum清理</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">yum remove nginx</span><br></pre></td></tr></table></figure>

<p>​<br>12，最后设置开机自动启动：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">在/etc/rc.d/rc.local中添加nginx启动命令行：</span><br><span class="line">/usr/local/nginx/sbin/nginx</span><br><span class="line">赋权：</span><br><span class="line">chmod +x /etc/rc.d/rc.local</span><br></pre></td></tr></table></figure>




<h3 id="《《《《安装msql》》》》"><a href="#《《《《安装msql》》》》" class="headerlink" title="《《《《安装msql》》》》"></a><strong>《《《《安装msql》》》》</strong></h3><p>Centos7快速安装Mysql<br>1, 下载 </p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm</span><br></pre></td></tr></table></figure>

<p>2,</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">yum -y install mysql57-community-release-el7-10.noarch.rpm&#x27;</span><br></pre></td></tr></table></figure>


<p>3,重新导入秘钥（执行第四步报如下错Failing package is: mysql-community-client-5.7.39-1.el7.x86_64<br> GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql的时候,先执行如下）</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022</span><br></pre></td></tr></table></figure>
<p>4 安装：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">yum -y install mysql-community-server	</span><br></pre></td></tr></table></figure>

<p>5 启动：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">service mysqld start</span><br></pre></td></tr></table></figure>

<p>6 查看默认的密码: </p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">grep &quot;password&quot; /var/log/mysqld.log </span><br></pre></td></tr></table></figure>

<p>7 登录mysql：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">mysql -uroot -p</span><br></pre></td></tr></table></figure>

<p>8   (设置密码复杂度，0最低级，1中级 2高级)</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">mysql&gt;</span><span class="bash"> <span class="built_in">set</span> global validate_password_policy=0;</span></span><br></pre></td></tr></table></figure>

<p>9  (设置密码长度)</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">mysql&gt;</span><span class="bash"> <span class="built_in">set</span> global validate_password_length=1;</span> </span><br></pre></td></tr></table></figure>



<p>10 (设置后的密码root)</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">mysql&gt;</span><span class="bash"> alter user <span class="string">&#x27;root&#x27;</span>@<span class="string">&#x27;localhost&#x27;</span> IDENTIFIED BY <span class="string">&#x27;新密码&#x27;</span>; (修改新密码)</span></span><br></pre></td></tr></table></figure>



<p>11 显示所有的库</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">mysql&gt;</span><span class="bash"> show databases;</span></span><br></pre></td></tr></table></figure>

<p>12 服务器外连接mysql 时报is not allowed to connect to this mysql server错误时：执行一下四步，</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">① 登录：mysql -uroot -p </span><br><span class="line">② 执行use mysql;</span><br><span class="line">③ 执行update user set host = &#x27;%&#x27; where user =&#x27;root&#x27;;</span><br><span class="line">④ 执行FLUSH PRIVILEGES;（注意：这一步刷新MySQL的权限相关表，刷信后才能生效）</span><br></pre></td></tr></table></figure>


<p>卸载Mysql<br>​<br>1  首先查看mysql有哪些文件</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">rpm -qa|grep -i mysql</span><br></pre></td></tr></table></figure>

<p>2 yum remove 文件名</p>
<p>3、查找mysql的配置文件和数据库</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">find / -name mysql</span><br></pre></td></tr></table></figure>
<p>  查找的结果进行执行如下删除操作:<br>  rm -rf /var/lib/mysql</p>
<p>  rm -rf /usr/share/mysql</p>
<p>  rm -rf /etc/selinux/targeted/active/modules/100/mysql</p>
<p>  LINUX 中 mysql 中常用的命令：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">service mysql start </span><br></pre></td></tr></table></figure>
<p>​    </p>
<h3 id="《《《《-搭建FTP文件服务器-》》》》"><a href="#《《《《-搭建FTP文件服务器-》》》》" class="headerlink" title="《《《《 搭建FTP文件服务器 》》》》"></a><strong>《《《《 搭建FTP文件服务器 》》》》</strong></h3><p>1，检查是否已经安装了FTP服务器。</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">rpm -qa | grep vsftpd</span><br></pre></td></tr></table></figure>

<p>2，若没有安装过，则执行以下命令进行安装。</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">yum install vsftpd</span><br></pre></td></tr></table></figure>

<p>安装完毕后：注意vsftpd的默认配置文件路径在 /etc/vsftpd/vsftpd.conf </p>
<p>3，创建虚拟用户。</p>
<p>创建vuser.list文件，当做ftp认证时使用的数据库文件。</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">[root@localhost/]#</span><span class="bash">	<span class="built_in">cd</span> /etc/vsftpd/</span></span><br><span class="line"><span class="meta">[root@vsftpd]#</span><span class="bash">	vim vuser.list</span>	</span><br><span class="line">1	wqq</span><br><span class="line">2	123456</span><br><span class="line">3	szz</span><br><span class="line">4	123456</span><br></pre></td></tr></table></figure>

<p>vuser.list编辑的内容：奇数行为账户名，偶数行为密码.</p>
<p>4，对数据库文件进行加密处理,利用db_load命令用哈希算法进行加密处理</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">db_load  -T  -t  hash  -f vuser.list  vuser.db</span><br></pre></td></tr></table></figure>



<p> 5，建立用于支持虚拟用户的PAM文件。</p>
<p>​    在/etc/pam.d/路径下新建一个vsftpd.vu 文件，编辑内容如下</p>
<p>​    查看系统位数：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">查看代码位数，64位或32位</span></span><br><span class="line">getconf  LONG_BIT</span><br></pre></td></tr></table></figure>

<p>​    如果64位：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash"> db 参数为使用db_load命令生成的账户密码数据库文件的路径，但不用写数据库文件的后缀</span></span><br><span class="line">auth required /lib64/security/pam_userdb.so db=/etc/vsftpd/vuser</span><br><span class="line">account required /lib64/security/pam_userdb.so db=/etc/vsftpd/vuser</span><br></pre></td></tr></table></figure>

<p>​    如果32位：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash"> db 参数为使用db_load命令生成的账户密码数据库文件的路径，但不用写数据库文件的后缀</span></span><br><span class="line">auth required pam_userdb.so db=/etc/vsftpd/vuser</span><br><span class="line">account required pam_userdb.so db=/etc/vsftpd/vuser</span><br></pre></td></tr></table></figure>

<p>6，创建ftp用户,</p>
<p>​    指定一个存放上传文件的地方，将 /var/ftp/pub作为FTP服务的根目录，</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">创建一个没有登录权限的用户，并且指定用户登入时的起始目录</span></span><br><span class="line">useradd  ftpuser -d  /var/ftp/pub -s /sbin/nologin</span><br><span class="line"><span class="meta">#</span><span class="bash">修改ftp文件夹权限，指定用户和用户组都为ftpuser</span></span><br><span class="line">chown -R ftpuser.ftpuser /var/ftp/pub</span><br><span class="line"><span class="meta">#</span><span class="bash">设置用户ftpuser 的密码</span></span><br><span class="line">passwd ftpuser</span><br><span class="line"></span><br></pre></td></tr></table></figure>

<p>7，为虚拟用户设置不同的权限。</p>
<p>①在FTP服务的根目录下，设置FTP虚拟用户的存储目录(当虚拟用户登录后所访问的默认位置)，在/var/ftp/pub目录下，新建ray和stone两个目录</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">[root@/] cd /var/ftp/pub</span><br><span class="line">[root@pub] mkdir ray</span><br><span class="line">[root@pub] mkdir stone</span><br></pre></td></tr></table></figure>

<p>② 在/etc/vsftpd/目录下新建vusers_dir文件夹，在里面分别新建两个ray,stone命名的文件，在各自的文件中写入相应的权限。</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">虚拟用户的存储目录</span></span><br><span class="line">local_root=/var/ftp/pub/raymond</span><br><span class="line">write_enable=yes</span><br><span class="line">anon_umask=022</span><br><span class="line">anon_world_readable_only=no</span><br><span class="line">anon_upload_enable=yes</span><br><span class="line">anon_mkdir_write_enable=yes</span><br><span class="line">anon_other_write_enable=yes</span><br></pre></td></tr></table></figure>

<p>8，配置FTP</p>
<p>①进入vsftpd配置目录下，新建chroot_list文件，将创建的用户ftpuser添加到chroot_list文件中。</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">进入到vsftpd配置目录下</span>	</span><br><span class="line">cd /etc/vsftpd</span><br><span class="line"><span class="meta">#</span><span class="bash">新建 chroot_list文件，添加文本内容ftpuser</span></span><br><span class="line">vim chroot_list</span><br><span class="line">1 ftpuser</span><br></pre></td></tr></table></figure>

<p>② 修改vsftpd.conf 文件。</p>
<p>​    添加或修改</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash"> 关闭匿名访问</span></span><br><span class="line">anonymous_enable=NO</span><br><span class="line"><span class="meta"></span></span><br><span class="line"><span class="meta">#</span><span class="bash"> 禁止系统实体用户登录</span></span><br><span class="line">chroot_local_user=NO</span><br><span class="line"><span class="meta"></span></span><br><span class="line"><span class="meta">#</span><span class="bash">启用限制用户的名单</span></span><br><span class="line">chroot_list_enable=YES</span><br><span class="line"><span class="meta">#</span><span class="bash">指定限制在主目录下的用户名单文件</span></span><br><span class="line">chroot_list_file=/etc/vsftpd/chroot_list</span><br><span class="line"><span class="meta"></span></span><br><span class="line"><span class="meta">#</span><span class="bash">指定根目录</span></span><br><span class="line">local_root=/var/ftp/pub</span><br><span class="line"><span class="meta"></span></span><br><span class="line"><span class="meta">#</span><span class="bash">使用本地时间</span></span><br><span class="line">use_localtime=yes</span><br><span class="line"></span><br><span class="line">pam_service_name=vsftpd.vu</span><br><span class="line"></span><br><span class="line">guest_enable=YES</span><br><span class="line">guest_username=ftpuser</span><br><span class="line">allow_writeable_chroot=YES</span><br><span class="line">user_config_dir=/etc/vsftpd/vusers_dir</span><br><span class="line"><span class="meta"></span></span><br><span class="line"><span class="meta">#</span><span class="bash">开启被动模式（默认是开启的，这里需要指定一个端口范围，不然端口比较随意，不好控制）</span></span><br><span class="line">pasv_enable=YES</span><br><span class="line">pasv_min_port=61001</span><br><span class="line">pasv_max_port=62000</span><br></pre></td></tr></table></figure>

<p>③ 修改selinux ,修改 SELINUX的值为 SELINUX=disable   </p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">vim /etc/selinux/config</span><br><span class="line">SELINUX=disable</span><br><span class="line"><span class="meta"></span></span><br><span class="line"><span class="meta">#</span><span class="bash">使selinux=<span class="built_in">disable</span>生效</span></span><br><span class="line">setenforce=0</span><br></pre></td></tr></table></figure>

<p>9 配置防火墙</p>
<p>开发20,21端口，以及61001到62000之间的端口，其中20端口是用来连接的，21端口是用来传输数据的。</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">iptables -I INPUT -p tcp --dport 61001:62000 -j ACCEPT</span><br><span class="line">iptables -I OUTPUT -p tcp --sport 61001:62000 -j ACCEPT</span><br><span class="line">iptables -I INPUT -p tcp --dport 20 -j ACCEPT</span><br><span class="line">iptables -I OUTPUT -p tcp --sport 20 -j ACCEPT</span><br><span class="line">iptables -I INPUT -p tcp --dport 21 -j ACCEPT</span><br><span class="line">iptables -I OUTPUT -p tcp --sport 21 -j ACCEPT</span><br></pre></td></tr></table></figure>

<p>10，设置vsftpd开启自启</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">systemctl enable vsftpd.service</span><br></pre></td></tr></table></figure>

<p>11 ，验证</p>
<p>重启vsftpd服务</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">重启</span></span><br><span class="line">service vsftpd restart</span><br><span class="line"><span class="meta">#</span><span class="bash">启动</span></span><br><span class="line">service vsftpd start</span><br><span class="line"><span class="meta">#</span><span class="bash">停止</span></span><br><span class="line">service vsftpd stop</span><br><span class="line"><span class="meta">#</span><span class="bash">查看状态</span></span><br><span class="line">service vsftpd status</span><br><span class="line"></span><br></pre></td></tr></table></figure>


    </div>

    
    
    
	
	<div>
		
			<div>
    
        <div style="text-align:center;color: #ccc;font-size:14px;">-------------本文结束<i class="fa fa-paw"></i>感谢您的阅读-------------</div>
    
</div>
		
	</div>

    <footer class="post-footer">

        

          <div class="post-nav">
            <div class="post-nav-item">
                <a href="/2022/03/17/JVM/" rel="prev" title="JVM">
                  <i class="fa fa-chevron-left"></i> JVM
                </a>
            </div>
            <div class="post-nav-item">
            </div>
          </div>
    </footer>
  </article>
</div>






</div>
  </main>

  <footer class="footer">
    <div class="footer-inner">


<div class="copyright">
  &copy; 
  <span itemprop="copyrightYear">2022</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">WQQ</span>
</div>
<div class="busuanzi-count">
    <span class="post-meta-item" id="busuanzi_container_site_uv">
      <span class="post-meta-item-icon">
        <i class="fa fa-user"></i>
      </span>
      <span class="site-uv" title="总访客量">
        <span id="busuanzi_value_site_uv"></span>
      </span>
    </span>
    <span class="post-meta-item" id="busuanzi_container_site_pv">
      <span class="post-meta-item-icon">
        <i class="fa fa-eye"></i>
      </span>
      <span class="site-pv" title="总访问量">
        <span id="busuanzi_value_site_pv"></span>
      </span>
    </span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/muse/" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
  </div>

    </div>
  </footer>

  
  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script>
<script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/schemes/muse.js"></script><script src="/js/next-boot.js"></script>

  




  
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>





<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"log":false,"pluginJsPath":"lib/","pluginModelPath":"assets/","pluginRootPath":"live2dw/","tagMode":false});</script></body>
</html>
